package com.axend.aerosense.base.viewmodel;

import com.axend.aerosense.base.impl.ISimpleAction;

public abstract class SimpleViewModel<T> extends BaseViewModel {
    protected ISimpleAction<T> simpleActionImpl;

    public SimpleViewModel(ISimpleAction<T> simpleActionImpl) {
        this.simpleActionImpl = simpleActionImpl;
    }

    @Override
    protected void onCleared() {
        simpleActionImpl = null;
        super.onCleared();
    }


}
